import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'normalize.css'
import axios from 'axios'
import '@/mock'
import Message from './extend/toast/index.js'
// import Vant from 'vant'

Vue.use(Message)
/**
 * Vue.use做了什么？
 * Vue.use调用了一个方法 install(Vue) {}
 */

Vue.config.productionTip = false
Vue.prototype.$http = axios;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
